var runtime.mutexprofilerate
8 uses
runtime (current package)
lock_spinbit.go#L330: if rate := int64(atomic.Load64(&mutexprofilerate)); rate <= 0 {
mprof.go#L781: rate := int64(atomic.Load64(&mutexprofilerate))
mprof.go#L819: var mutexprofilerate uint64 // fraction sampled
mprof.go#L830: return int(mutexprofilerate)
mprof.go#L832: old := mutexprofilerate
mprof.go#L833: atomic.Store64(&mutexprofilerate, uint64(rate))
mprof.go#L842: rate := int64(atomic.Load64(&mutexprofilerate))
sema.go#L173: if profile&semaMutexProfile != 0 && mutexprofilerate > 0 {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |